cmake_minimum_required(VERSION 2.8)
find_package(OPENCV REQUIRED)


set(source affine_image_generator06.cc     homography_estimator.cc
affine_transformation_range.cc  main.cc
buffer_management.cc            mcv.cc
cmphomo.cc                      mcvGaussianSmoothing.cc
fern_based_point_classifier.cc  planar_pattern_detector.cc
ferns.cc                        planar_pattern_detector_builder.cc
fine_gaussian_pyramid.cc        pyr_yape06.cc
homography06.cc                 template_matching_based_tracker.cc)


include_directories("./")
link_directories("D:/paper_book_doc_and_so_on/ferns/ferns_demo-1.1")

add_executable(ferns_demo ${source})
target_link_libraries(ferns_demo ${OpenCV_LIBS} zdll)

